import requests from '../util/request'


export const reqSendEmail = (data) => requests({
    url: '/email/sendEmail',
    data,
    method: 'post',
})






















export const reqAddInfo = (data) => requests({
    url: `/contact/add/contactInfo`,
    data,
    method: 'post',
})
export const reqUpdateInfo = (data) => requests({
    url: `/contact/update/contactInfo`,
    data,
    method: 'post',
})

export const reqDeleteInfo = (id) => requests({
    url: `/contact/delete/contactInfo/${id}`,
    method: 'delete',
})
export const reqDeleteInfoList = (data) => requests({
    url: `/contact/delete/contactInfo/list`,
    data,
    method: 'delete',
})
